package com.imooc.user.mapping;


import com.imooc.user.provider.model.UserCenterGroupVo;
import com.imooc.user.repository.entity.TUserCenterGroup;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface GroupMapping {

    List<UserCenterGroupVo> convert(List<TUserCenterGroup> groups);
    UserCenterGroupVo convert(TUserCenterGroup group);

}

